import filter from './filter'
import matcher from '../object/matcher'

function where(obj, attrs) {
  return filter(obj, matcher(attrs))
}

export default where
